<include file="Public/head"/>

<style type="text/css">
    .control-group{
        float: left;
        width: 50%;
    }
</style>
<div class="container-fluid" >
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">video设置</h3>
    </div>
    <div class="modal-body" style="max-height:600px;">
        <form action="{:U('Show/video')}" class="form-horizontal" method="post" enctype="multipart/form-data">

            <div ><p style="color:red;">图片推荐尺寸：700X440</p></div>
            <div class="control-group img">
                <div class="controls">
                    <span>视频封面图片：</span>
                    <input type="file" name="videoimgurl" ><br>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">视频封面图片预览：</label>
                <div class="controls">
                    <img src="__PUBLIC__/{$data.videoimgurl}" style="width:200px;height:80px;">
                </div>
                <hr />
            </div>

            <div class="control-group img" style="margin-left: 180px;">
                <span>视频标题：</span>
                <input type="text" name="videotitle" value="{$data.videotitle}">
            </div>

            <div class="control-group img" style="margin-left: 180px;">
                <span>视频地址流：</span>
                <input type="text" name="videodataurl" value="{$data.videodataurl}">
            </div>

            <div class="control-group" style="margin-left: 180px;">
                <span>是否播放背景音乐：</span>
                <input type="radio" value="1" name="isplayradio" <if condition="$data.isplayradio eq 1">checked</if> >是
                <input type="radio" value="0" name="isplayradio" <if condition="$data.isplayradio eq 0">checked</if>>否
            </div>

            <div class="control-group" style="margin-left: 180px;">
                <span>是否播放视频：</span>
                <input type="radio" value="1" name="isplayvideo" <if condition="$data.isplayvideo eq 1">checked</if> >是
                <input type="radio" value="0" name="isplayvideo" <if condition="$data.isplayvideo eq 0">checked</if>>否
            </div>


        </form>
    </div>
    <div class="modal-footer">
        <button class="btn" onclick='history.go(-1)'>返回</button>
        <button class="btn btn-primary" id="add" onclick="add();">提交</button>
    </div>
</div>

<include file="Public/foot"/>